<?php
/**
 * ===============================================
 * 版权所有 2019-2050 青岛铁锤科技有限公司，并保留所有权利。
 * 网站地址: http://www.huaxianling.com
 * ===============================================
 * Author: Happy dong
 * Created Time: 2019-06-26 13:41
 * Modified Time: 2019-06-26 13:41
 * Version: 2.0
 */

namespace App\Models;


use Illuminate\Database\Eloquent\Model;

/**
 * 剪发师日程安排表
 * Class Schedule
 * @package App\Models
 */
class Schedule extends Model
{
	protected $table = "schedule";

	protected $fillable = [
		'user_id',
		'store_id',
		'status',
		'plan_date'
	];


	public function user(){
		return $this->belongsTo(User::class, 'user_id','id');
	}
}